﻿using BlueCrest.ConfigManagement.Storage.DB.Data;
using FluentNHibernate.Mapping;

namespace BlueCrest.ConfigManagement.Storage.DB.ClassMaps.Flat
{
    public class ConfigPathFlatEntityMap : ClassMap<ConfigPathFlatEntity>
    {
        public ConfigPathFlatEntityMap()
        {
            Id(x => x.PathId);
            Map(x => x.PathName);
            Map(x => x.ParentPathId);

            Table("dbo.tblConfigPath");
        }
    }
}
